package com.runa.monitor.platinterface.meter3_0.command;

import com.alibaba.fastjson.annotation.JSONField;

import java.util.List;

/**
 * @author diandian
 * @Date 2020/7/6 17:20
 */
public class SendBufferResponse {
    private String cmd;
    private String netEquSerialNo;
    private Data data;

    public String getCmd() {
        return cmd;
    }

    public void setCmd(String cmd) {
        this.cmd = cmd;
    }

    public String getNetEquSerialNo() {
        return netEquSerialNo;
    }

    public void setNetEquSerialNo(String netEquSerialNo) {
        this.netEquSerialNo = netEquSerialNo;
    }

    public Data getData() {
        return data;
    }

    public void setData(Data data) {
        this.data = data;
    }

    public static class Data {
        @JSONField(name = "Result")
        private Boolean Result;
        @JSONField(name = "Message")
        private String Message;
        @JSONField(name = "RecvBuffer")
        private String recvBuffer;

        public Boolean getResult() {
            return Result;
        }

        public void setResult(Boolean result) {
            Result = result;
        }

        public String getMessage() {
            return Message;
        }

        public void setMessage(String message) {
            Message = message;
        }

        public String getRecvBuffer() {
            return recvBuffer;
        }

        public void setRecvBuffer(String recvBuffer) {
            this.recvBuffer = recvBuffer;
        }
    }

    public static class Valves{
        private String serialNo;
        private Boolean state;
        private String readTime;
        private String failureCauses;

        public String getSerialNo() {
            return serialNo;
        }

        public void setSerialNo(String serialNo) {
            this.serialNo = serialNo;
        }

        public Boolean getState() {
            return state;
        }

        public void setState(Boolean state) {
            this.state = state;
        }

        public String getReadTime() {
            return readTime;
        }

        public void setReadTime(String readTime) {
            this.readTime = readTime;
        }

        public String getFailureCauses() {
            return failureCauses;
        }

        public void setFailureCauses(String failureCauses) {
            this.failureCauses = failureCauses;
        }
    }
}